﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Author.aspx.cs" Inherits="Solution.Author" %>

<asp:Content runat="server" ID="FeaturedContent" ContentPlaceHolderID="FeaturedContent">
</asp:Content>

<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    <div class="category-wraper">
        <asp:PlaceHolder runat="server" ID="rptAuthor"></asp:PlaceHolder>
        <asp:Repeater runat="server" ID="rptAlbums">
            <ItemTemplate>
                <div class="album-wraper">
                    <a href='album.aspx?abl=<%# DataBinder.Eval(Container.DataItem, "Id") %>'>
                        <div class="album-thumb"><img src=<%# DataBinder.Eval(Container.DataItem, "Thumb") %>></div>
                        <span class="album-title"><%# DataBinder.Eval(Container.DataItem, "Title") %></span>
                    </a>
                </div>
            </ItemTemplate>
        </asp:Repeater>
    </div>

    <div>
        <div class="category-title">
            Relatead authors
        </div>
    
        <asp:Repeater runat="server" ID="rptAuthors">
            <ItemTemplate>
                <img src='<%# DataBinder.Eval(Container.DataItem, "Thumb") %>'/>
                <span>Tên:</span>
                <a href='author.aspx?ath=<%# DataBinder.Eval(Container.DataItem, "Id") %>'>
                    <asp:Label runat="server" ID="lblName" Text='<%# DataBinder.Eval(Container.DataItem, "Name") %>'></asp:Label>
                </a>
            </ItemTemplate>
        </asp:Repeater>
    </div>
</asp:Content>